﻿using Sunny.UI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;

namespace DesktopShortcutMonitor.Model
{
    public class Config
    {

        /// <summary>
        /// 扫描间隔时间 单位（秒）
        /// </summary>
        public int ScanIntervalSec
        {
            get; set;
        }

        /// <summary>
        /// 各个被监控程序的规则
        /// </summary>
        public BindingList<SingleConfig> Datas { get; set; }

        public Config(string name = "AutoFrame")
        {
            Datas = new BindingList<SingleConfig>();
            Datas.Add(new SingleConfig("AutoFrame"));
            Datas.Add(new SingleConfig("Vision"));
        }

        
    }
}
